Component({
  data: {
    color: "#515151",
    selectedColor: "#DAA520",
    backgroundColor: "#ffffff",
    current:1,
    "list": [
      {
        "pagePath": "/pages/subBureauDetails/subBureauDetails",
        "text": "",
        "iconPath": "/images/check.png",
        "selectedIconPath": "/images/check.png"
      },
      {
        "pagePath": "/pages/czqhome/czqhome",
        "text": "",
        "bulge":true,
        "iconPath": "/images/hometab.png",
        "selectedIconPath": "/images/hometab.png"
      },
      {
        "pagePath": "/pages/homepage/homepage",
        "text": "",
        "iconPath": "/images/tabmy.png",
        "selectedIconPath": "/images/tabmy.png"
      }]
  },
  attached() {

    
  },
  
  
  methods: {
    switchTab(e) {


      
      const data = e.currentTarget.dataset
      const url = data.path
      
      console.log(url,e);
      wx.switchTab({url}) ;

      
    }
  }
})